package com.hmall.api.client;

import com.hmall.api.config.DefaultFeignConfig;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.PathVariable;

/**
 * @Description
 * @Author seven
 * @Date 2024/10/10
 */
@FeignClient(value = "trade-service", configuration = DefaultFeignConfig.class)
public interface TradeClient {

    @GetMapping("/trade")
    void markOrderPaySuccess(@PathVariable("orderId") Long orderId);
}
